package com.itheima.mp.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum UserStatusEnum {

    NORMAL(1,"正常"),
    FREEZE(2,"冻结");

    @EnumValue
    private Integer value;

    private String label;

    UserStatusEnum(Integer value,  String label) {
       this.value = value;
       this.label = label;
    }
}